home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Source / Chess++ ƒ / CChessOptionsDialog.h < prev    next >
Text File  |  1993-04-25  |  931b  |  44 lines

  1. /******************************************************************************
  2.  CNewDocDialog.h
  3.  
  4.         Interface for CChessOptionsDialog class.
  5.         
  6.     SUPERCLASS = CDLOGDirector
  7.     
  8.     Copyright © 1993 Steven J. Bushell. All rights reserved.
  9.     
  10.  
  11.  ******************************************************************************/
  12.  
  13. #define _H_CChessOptionsDialog
  14.  
  15. #include "CDLOGDirector.h"
  16.  
  17. class CChessOptionsDialog : public CDLOGDirector
  18. {
  19.     short    selectedSearchDepth;
  20.     Boolean    selectedSoundOnBetterMoves;
  21.     Boolean selectedShowThoughts;
  22.     Boolean    selectedBackPropagation;
  23.     long    selectedBackgroundTimeInterval;
  24.  
  25. public:
  26.  
  27.     void     IChessOptionsDialog( CDirectorOwner *aSupervisor);
  28.     
  29.     virtual void DoChessOptionsDialog( void);
  30.     
  31.     void    DoCommand(long theCommand);
  32. };
  33.  
  34. enum    // dialog item IDs
  35. {
  36.     kRadioGroupID = 2,
  37.     kEasyGame,
  38.     kHardGame,
  39.     kWayHardGame,
  40.     kSoundOnBetterMoves = 10,
  41.     kShowThoughts,
  42.     kDoReallyCoolThings,
  43.     kBackgroundTimeInterval = 15
  44. };